import React from "react"
import HomePage from "./home/home"
import Login from "./user/login/login"
import Register from "./user/register/register"
import { createBrowserRouter } from "react-router-dom"
import { constPage } from "@/common/constants"


export const router = createBrowserRouter([
    {
        path: constPage.root,
        element: <HomePage />,
    },
    {
        path: constPage.login,
        element: <Login />
    },
    {
        path: constPage.register,
        element: <Register />
    }
])


